<%@ page pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="/pages/head.jsp">
	<jsp:param value="修改用户信息" name="title" />
</jsp:include>
</head>
<body>
	<jsp:include page="/pages/user/user_nav.jsp" />
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-2 col-0"></div>
			<div class="col-md-8 col-12">
				<div class="card border-warning">
					<div class="card-header border-warning bg-warning">
						<h5 class="text-center">修 改 用 户 资 料</h5>
					</div>
					<form role="form" method="post" action="user_update_info.action">
						<div class="card-body">
							<div class="form-group">
								<label for="username">用户名</label> <input type="text"
									class="form-control" name="un" readonly value="${user.username }" />
							</div>
							<div class="form-group">
								<label for="password">密码</label> <input type="password"
									class="form-control" name="pw" required="required" />
							</div>
							<div class="form-group">
								<label for="telephone">电话</label> <input type="number"
									class="form-control" name="tel" value="${user.telephone }" required="required" />
							</div>
							<div class="form-group">
								<label for="address">地址</label>
								<input class="form-control" name="addr" type="text" value="${user.address }" required />
							</div>
						</div>
						<div class="card-footer border-warning text-center">
							<button type="submit" class="btn btn-warning">确认修改</button>
							&nbsp;&nbsp; <a role="button" class="btn btn-default"
								href="javascript:history.back();">放弃返回</a>
						</div>
					</form>
				</div>
			</div>
			<div class="col-md-2 col-0"></div>
		</div>
		<!--ending 2th row-->
	</div>
</body>
</html>